SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7112e829caea1e3fb80bce2e8019c3b224fe38b2501b649503e86ec41f005d4b' 
  AND token = 'o4ctEeNoBEBVcv6/ahQgsEGsye0Ui/ummT2xhTPrHmk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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