SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e2d9789cfedc75a24ff1c8508b2d4e3853e468e6c73c108de724ae320401c6af' 
  AND token = '0D4g8REZnHlzLKkTkvykIh5hAsINB5q251UXr5U6iRY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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