SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ac67802760451809e24d65f98f96eb4168183c089b60b8149c14dc777754cae' 
  AND token = 'dHgkDToGbKeS3gSdM3STmOLfvSSLCriejlVs3J6nSRw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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