SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6dbf01d5f0c6741d9a48856f2b41c57ca38365a55ae50e3db9eddfeaa0003e97' 
  AND token = 'TXcgjB15ELOOtYFTYOPNZiUMYWQxJ08fm73ID5YYye8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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