SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6cbd7481e4c52333163c7903009ee835352a160c59e023fadbc322e8385364b9' 
  AND token = '2pH2dP/XHh4s7Anc6jqVb7AwZqMNBwJBPW/dLqCPucE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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