SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '638900e6e13650097084426f61bc9a51b47273fecb6f70555f20f525e30fa0dc' 
  AND token = 'kcT3bHJwt/Pl8ctXTRVfZtDZ1pR4zJn+0iLklSw1JPo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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