SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3cfb02d36a997fb34db472512bc385d85768cf14fefdab2fe78e7e7ddb8a0e12' 
  AND token = 'rajGYqrxfqLPYA6hvcyE05V4qfyoshfTaDOJ2j8t1n0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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