SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ed945178ea4f4292553a788ce3db13c1741f72195ea8f39bf1415533e78932b' 
  AND token = 'PaJeM22PekLSV9UDSSuB6jzbzB6KoluwSDA+lrY6Qgc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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