SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c21625b88202ba2b605859cf1370f2157029b878849d0992200c8efcf220cbd' 
  AND token = '0kkW7yMkNOwQaF+LndIOkbTLuM/svacozBdRRYkBWD0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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