SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6288cd22c3c48c52a687453b9ea0c2831cfc99ef17f340613c30391adca7f25a' 
  AND token = 'weBeYAUizEgzhoEiI/BfdeWZYG218kdBBwA0L8T0Oxc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}