SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1176a32e99210f2b72cbddcb309438995165ed823f85f8b72b943ae386eaad1' 
  AND token = 'k1WlC6IvWrNxqs74LKIcOYvNuj9M5e/P208ZiWppyn8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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