SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c26f029b7d6f577d3c8706be19b1c3aa6049206d170d400c5e0675bdf315e97' 
  AND token = 'EcSm46HZdJiL2jGx2iq+8lx79eRVOBjvXNwJmZlbgw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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