SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51b2df1235e296de9ddcfdd774a90c44d605d4594a465f8648e54978be1819d3' 
  AND token = 'cAa6Ww6POwzQ7aQFaShQWttVaX41LHo6fnKQSx+7qxM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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