SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0c574ead3f1774343ef711a0b546cc4abf31a54ad6732dd5ef45461c702fa20' 
  AND token = 'Yva5E+meiIUIDhPwysCTfBouQjT71cWanNVlXhb/S0Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}