SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50f89a2d1e7a760142500f1d16d417ea65fc36f2da5af61ff82aa577d700ecc7' 
  AND token = 'qgUNbIziXo/vpOdjEavuwb09KmQYPgFa/ezxgna0dvg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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