SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f859740817854ab2cc868d773e1ea7e679ad2561ce7f848781167ad0828df3d' 
  AND token = 'KrQAWO6OSQI7Ez7xDWdtU4SPdFOva2myHz3qN2hvRp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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