SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4d5579b4feffb9a81687fe5f3b2b27b93ac90689e2fcdc1f4bfc04013dd386a' 
  AND token = 'XpLr08M6zBlncbFOjCIMJ4o6cOkUIPk4Zsg0AznP2ZQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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