SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79665e960e180e953f892e528efcdabbda3aa74b3f74a64271e0aa4ddd8693c4' 
  AND token = 'k6mU/k/p3aSbO4mmuRfmALKvTIFXa4d35c/+qpFRJlI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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