SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc0277773700103838daef475452ff6d25236077304c4a0ebb9c6d68e8b56e36' 
  AND token = 'JSwXhmotGfW20aXrtltq2CZGT1+1dTPExacB8oBFxjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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