SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '021aaa9d7aeb33325a16d17547e81b4cf14c3d29f32f9c8115ff82d507a38aca' 
  AND token = 'JOiWoUdgErwZ4bsC6dpdEShu8ab3g4TLeReR7kKtqP0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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