SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c005e666d4e0325792405f5eb240b06b61d7407d3be24fa34022cdf620bedd1a' 
  AND token = '7jP18pRJpRcSK1XQRtLdv4B/23vh0jPPiaXk6S9z7hY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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