SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79031e1b71489e29294a78a01525fccecc314533501c4b57f676c852773a6a31' 
  AND token = 'Q9QTDpIjCdL+4ovdwUjpGA1abGPlVOQP56xULRwCppE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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