SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5861547c830b22397f146fd028d68f3fcf05f5466c1f074e0795eab9c586a5a0' 
  AND token = '3KimqB6DtvWPIu4G0INYDpm57AsgEow2jxQ6qe3lZPI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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