SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c9eb8d98e07f340d6eef2b932376199cbb4f542862852a3d2a1e3bd6c05e8ff' 
  AND token = 'ZPAVmlI2Is6XLNd3JQ7wFAcdq0CKLa8wzVISJWCzUbw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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