SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '456fe1d5e696ff6584239f0e2922b7e24d3195e34ed1c9aced595276285958c9' 
  AND token = 'w0MXWg1fTQ6Cn2w1dWjRs/xTDR4WOy6QJdKTRf0yrg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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