SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5c5978baf87f9c09c77dfc605f08f547cbadb7ccf122abf7cc7863f78a6005f' 
  AND token = 'wOcHRYj0rzm5ECi5fd38WNwqHwjROquwCHTU+52rQsg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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